package com.okRPC.server.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Description: This is a sample class.
 * Author: Simon
 */
@Data
@ConfigurationProperties(prefix = "rpc.server")
public class RpcServerProperties {
    private int port = 8090;
    private String appName;
    private String registryAddr = "127.0.0.1:2181";
}
